package com.wm.entity;


import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.util.List;
@NoArgsConstructor
@AllArgsConstructor
public class RbacRole {

  private int id;
  private String name;
  private String description;
  private String status;

  private List<RbacPerm> perms;  //权限列表

  public List<RbacPerm> getPerms() {
    return perms;
  }

  public void setPerms(List<RbacPerm> perms) {
    this.perms = perms;
  }

  public static final String ENABLE = "y";
  public static final String DISABLED = "n";


  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public String getDescription() {
    return description;
  }

  public void setDescription(String description) {
    this.description = description;
  }


  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }

}
